package com.bdqn.design.computer.impl;

import com.bdqn.design.computer.Computer;

/**
 * AddComputer
 *
 * @author LILIBO
 * @since 2025/1/6
 */
public class AddComputer implements Computer {

    /**
     * 计算方法（加法）
     *
     * @param num1
     * @param num2
     * @return
     */
    @Override
    public double calculate(double num1, double num2) {
        return num1 + num2;
    }

}
